package com.dxf.entity;
/**
 * 列对象
 * 	表中的每一列 由列名,是否主键,列在数据库中的类型组成
 */
public class Column {
	private String columnName3;//列名称首字母大写
	private String columnName;//列名称
	private String columnName2;//处理后的类中属性名称
	private String columnType;//列类型java类型
	private String columnDbType;//列数据库类型
	private String columnComment;//列备注
	private String columnKey;//是否是主键
	private String columnSize;//列长度
	private String isRequired;//是否必填
	private String defaultValue;//根据类型确定这一列的默认值,如 long 类型是 1 等等

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getIsRequired() {
		return isRequired;
	}

	public void setIsRequired(String isRequired) {
		this.isRequired = isRequired;
	}

	public String getColumnSize() {
		return columnSize;
	}

	public void setColumnSize(String columnSize) {
		this.columnSize = columnSize;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getColumnName2() {
		return columnName2;
	}

	public void setColumnName2(String columnName2) {
		this.columnName2 = columnName2;
	}

	public String getColumnType() {
		return columnType;
	}

	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}

	public String getColumnDbType() {
		return columnDbType;
	}

	public void setColumnDbType(String columnDbType) {
		this.columnDbType = columnDbType;
	}

	public String getColumnComment() {
		return columnComment;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}

	public String getColumnName3() {
		return columnName3;
	}

	public void setColumnName3(String columnName3) {
		this.columnName3 = columnName3;
	}


	@Override
	public String toString() {
		return "Column{" +
				"columnName='" + columnName + '\'' +
				", columnName2='" + columnName2 + '\'' +
				", columnType='" + columnType + '\'' +
				", columnDbType='" + columnDbType + '\'' +
				", columnComment='" + columnComment + '\'' +
				", columnKey='" + columnKey + '\'' +
				", columnSize='" + columnSize + '\'' +
				", isRequired='" + isRequired + '\'' +
				", defaultValue='" + defaultValue + '\'' +
				'}';
	}
}
